import { createApp } from 'vue'
import './style.css'
import axios from 'axios'
import App from './App.vue'
import * as stacktraceParser from 'stacktrace-parser'
import 'highlight.js/styles/a11y-dark.css';

import VConsole from 'vconsole/dist/vconsole.min.js'
  let vConsole = new VConsole()
  const app = createApp(App)
window.addEventListener('message',(e)=>{
  console.log(e.data);
})
// app.config.errorHandler = function (error) {
//     console.log(error.stack);
//     axios({
//       method:'post',
//       url:"http://localhost:55000/f/file",
//       data:{
//         s:error.stack
//       }
//     }).then(res=>{
//       console.log(res);
//     })
    
// }

app.mount('#app')
